Crate glutin

source ·
Expand description

The purpose of this library is to provide an OpenGL context for as many platforms as possible, abstracting away the underlying differences without losing access to platform specific extensions.

However Glutin doesn’t force users into using the cross platform abstractions. When only a particular api is desired, it can be used directly.

The initialization starts by loading and connecting to the platform’s graphics Api when creating a display. This object is used to create all the OpenGL objects, such as config, context, and surface.

Modules

  • The underlying OpenGL platform Api.
  • Api config picking and creating utils.
  • OpenGL context creation and initialization.
  • The OpenGL platform display selection and creation.
  • Glutin error handling.
  • Platform-specific API helpers.
  • The glutin prelude.
  • A cross platform OpenGL surface representation.